package cn.com.se.sharepictrue.business;

/**
 * Created by KIDNG on 2015/11/16.
 */
public class NetworkResponse<T> {
    private boolean status;
    private String error;
    private T data;
    private String hasMore;
    public static String HAS_MORE = "1";
    public static String NO_MORE = "0";

    public String getHasMore() {
        return hasMore;
    }

    public void setHasMore(String hasMore) {
        this.hasMore = hasMore;
    }



    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "{" +
                "status=" + status +
                ", error='" + error + '\'' +
                ", data=" + data +
                '}';
    }
}
